<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>老板列表</title>
    <link rel="stylesheet" href="/webjars/bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="/webjars/jquery/3.6.0/jquery.min.js"></script>
    <script src="/webjars/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <style>
        .table{
            text-align: center;
        }
    </style>
</head>
<body>
<div class="container">
    <h2>当前用户：[[${#session.getAttribute('username')}]]</h2>
    <div class="panel panel-primary">
        <div class="panel-heading">
            <h3 class="panel-title">
                老板列表
            </h3>
        </div>
        <table class="table table-striped table-hover">
            <tr>
                <td>老板编号</td>
                <td>老板姓名</td>
                <td>性别</td>
                <td>年龄</td>
                <td>住址</td>
            </tr>
            <tr th:each="b : ${boss}">
                <td th:text="${b.eid}"></td>
                <td th:text="${b.ename}"></td>
                <td th:text="${b.sex}"></td>
                <td th:text="${b.age}"></td>
                <td th:text="${b.addr}"></td>
            </tr>
        </table>
        <div class="panel-footer text-right">
            泽林教育2000-2021.
        </div>
    </div>
</div>
</body>
</html>